package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Permission;
import cn.wolfcode.crm.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PermissionService {

    void insert(Permission record);

    void deleteByPrimaryKey(Long id);


    Permission selectByPrimaryKey(Long id);

    List<Permission> selectAll();

    PageInfo<Permission> query(QueryObject qo);


    void reload();

    List<String> querByEmployeeId(Long employeeId);


}
